package com.express.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.express.entity.SysApiRequestQueryEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * api 请求参数
 *
 * @author Rock.Zhou
 * @email cool_fish@aliyun.com
 * @date 2021-01-20 11:34:03
 */
@Repository
@Mapper
public interface SysApiRequestQueryDao extends BaseMapper<SysApiRequestQueryEntity> {

    /**
     * 批量插入请求参数
     * @param requestQueryList
     * @return
     */
    @DS("api")
    int insertList(@Param("list") List<SysApiRequestQueryEntity> requestQueryList);
}
